package com.shop.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (ChatRoomInferior)实体类
 *
 * @author makejava
 * @since 2023-05-06 19:30:25
 */
@Data
public class ChatRoomInferior implements Serializable {
    private static final long serialVersionUID = 767847576272099157L;

    @TableId
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 消息
     */
    private String message;
    /**
     * 发布时间
     */
    private Date releaseTime;
    /**
     * 聊天室id
     */
    private Integer roomId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

}

